package vo;

/**
 * Product entity. @author MyEclipse Persistence Tools
 */

public class Product implements java.io.Serializable {

	// Fields

	private Integer productId;
	private Integer pclassId;
	private String productName;
	private Integer pstock;
	private String pclassName;
	private Integer pbarcode;
	private Float pprice;
	

	// Constructors

	/** default constructor */
	public Product() {
	}

	/** minimal constructor */
	public Product(String productName, Integer pstock, String pclassName,
			Integer pbarcode, Float pprice) {
		this.productName = productName;
		this.pstock = pstock;
		this.pclassName = pclassName;
		this.pbarcode = pbarcode;
		this.pprice = pprice;
	}

	/** full constructor */
	public Product(Integer pclassId, String productName, Integer pstock,
			String pclassName, Integer pbarcode, Float pprice) {
		this.pclassId = pclassId;
		this.productName = productName;
		this.pstock = pstock;
		this.pclassName = pclassName;
		this.pbarcode = pbarcode;
		this.pprice = pprice;
	}

	// Property accessors

	public Integer getProductId() {
		return this.productId;
	}

	public void setProductId(Integer productId) {
		this.productId = productId;
	}

	public Integer getPclassId() {
		return this.pclassId;
	}

	public void setPclassId(Integer pclassId) {
		this.pclassId = pclassId;
	}

	public String getProductName() {
		return this.productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public Integer getPstock() {
		return this.pstock;
	}

	public void setPstock(Integer pstock) {
		this.pstock = pstock;
	}

	public String getPclassName() {
		return this.pclassName;
	}

	public void setPclassName(String pclassName) {
		this.pclassName = pclassName;
	}

	public Integer getPbarcode() {
		return this.pbarcode;
	}

	public void setPbarcode(Integer pbarcode) {
		this.pbarcode = pbarcode;
	}

	public Float getPprice() {
		return this.pprice;
	}

	public void setPprice(Float pprice) {
		this.pprice = pprice;
	}

}